package com.ruoyi.project.modules.domainInfo.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 归属域信息对象 t_domain_info
 * 
 * @author smallrain
 * @date 2022-03-26
 */
public class DomainInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 归属域名称 */
    @Excel(name = "归属域名称")
    private String domainName;

    /** 归属域英文名称 */
    @Excel(name = "归属域英文名称")
    private String domainEnName;

    /** 归属域描述 */
    @Excel(name = "归属域描述")
    private String domainDescription;

    /** 状态（0正常 1停用） */
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 归属域对象信息信息 */
    private List<DomainObjectInfo> domainObjectInfoList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDomainName(String domainName) 
    {
        this.domainName = domainName;
    }

    public String getDomainName() 
    {
        return domainName;
    }
    public void setDomainEnName(String domainEnName) 
    {
        this.domainEnName = domainEnName;
    }

    public String getDomainEnName() 
    {
        return domainEnName;
    }
    public void setDomainDescription(String domainDescription) 
    {
        this.domainDescription = domainDescription;
    }

    public String getDomainDescription() 
    {
        return domainDescription;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public List<DomainObjectInfo> getDomainObjectInfoList()
    {
        return domainObjectInfoList;
    }

    public void setDomainObjectInfoList(List<DomainObjectInfo> domainObjectInfoList)
    {
        this.domainObjectInfoList = domainObjectInfoList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("domainName", getDomainName())
            .append("domainEnName", getDomainEnName())
            .append("domainDescription", getDomainDescription())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("domainObjectInfoList", getDomainObjectInfoList())
            .toString();
    }
}
